home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekikoh Dennoh Club 5
/
Gekikoh Dennoh Club Vol. 5 (Japan).7z
/
Gekikoh Dennoh Club Vol. 5 (Japan) (Track 01).bin
/
internet
/
xip
/
iijppp.lzh
/
INSTALL
< prev
next >
Wrap
Text File
|
1994-10-14
|
1KB
|
63 lines
Installing User process PPP
1. Installing tunnel device
a) Move source files found in driver directory under /sys.
1. Drivers are place in Drivers/ directory. Choose proper one
suitable for your system.
2. Copy if_tun.[ch] into /sys/net.
3. BSDI users need to apply a patch found as `diffs'.
b) Copy if_tun.h into /usr/include/net, too.
# cp net/if_tun.h /usr/include/net
c) For BSDI users, edit /sys/conf/files and add if_tun.c.
Sample is available as Drivers/BSDI-1.1/files.
d) Edit /sys/i386/i386/conf.c and add definition for tunnel device.
Sample is available. BSDI user also need to apply a patch into
kern/subr_pdev.c.
e) Edit your kernel config file and insert next two lines.
options TUN
pseudo-device tun 4
f) Rebuild kernel and reboot.
g) Create tunnel device.
Look at your /sys/i386/i386/conf.c and find out a major device
number assigned for newly added tunnel device. (Here I assume 29).
Use mknod to create a device file.
# cd /dev
# mknod tun0 c 29 0
# mknod tun1 c 29 1
# mknod tun2 c 29 2
# mknod tun3 c 29 3
2. Installing PPP program
a) Look src/defs.h and check MODEM_DEV and MODEM_SPEED definition, and
make necessary changes.
b) Edit example/ppp.conf and example/ppp.linkup to meet with your PPP peer.
c) Compile it.
% make all
d) Install
# make install
Because BSDI ppp is available as /usr/bin/ppp, check your PATH environment
definition.